package com.poetry.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.poetry.domain.dto.NotesDTO;
import com.poetry.domain.po.Notes;
import com.poetry.exception.BasePage;
import com.poetry.exception.R;

import java.util.List;

public interface INotesService extends IService<Notes> {
    R<Integer> addNotes(NotesDTO notesDTO);

    R<List<Notes>> queryNotes(BasePage basePage);

    R<String> update(Notes notes);

    R<String> delete(Integer id);
}
